//
//  RTCController.h
//  HollySdk
//
//  Created by hollycrm on 2021/3/4.
//

#import <Foundation/Foundation.h>
#import "TRTCCloud.h"
#import "TRTCDelegate.h"
#import <UIKit/UIKit.h>
#import "phoneType.h"
#import "SDKManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface RTCController : NSObject


@property (nonatomic,assign) RTCCallState rtcCallState;//1呼叫中  2等待接听 3通话中
@property (nonatomic,assign) RTCCallType rtcCallType;// 呼叫类型

@property (nonatomic,assign) BOOL isMute ;//是否静音

@property (nonatomic,assign) BOOL isSpeakerOn ;//是否打开扬声器

@property (nonatomic,assign) BOOL isFrontCamera; //是否前置摄像头

@property (nonatomic,assign) BOOL inRoom;

@property (nonatomic,assign) BOOL rtcViewPushed;//是否在页面中

@property (nonatomic,strong) NSDictionary *a6dic;//a6记录云客服通话的url

@property (nonatomic,assign) UInt32 roomId;

@property (nonatomic,strong) NSString *userSig;

@property (nonatomic,strong) NSString *userId;

@property (nonatomic, strong) NSString *touserid;

@property (nonatomic,assign) UInt32 sdkAppId;

+ (instancetype)shareController;

-(void)enterRoomWithView:(BOOL)pushView;
-(void)exitRoom;

-(void)pushView;

-(void)reportExitRoom;

@end

NS_ASSUME_NONNULL_END
